﻿#ifndef DC_SETTING_PLOT_RECT_DIALOG_H
#define DC_SETTING_PLOT_RECT_DIALOG_H

#include <QDialog>
#include "qcustomplot.h"

namespace Ui {
	class SettingPlotRectDialog;
}

class SettingPlotRectDialog : public QDialog
{
	Q_OBJECT

public:
	explicit SettingPlotRectDialog(QWidget* parent = 0);
	~SettingPlotRectDialog();

	void SetCurrentRect(const QCPRange& xRange, const QCPRange& yRange);


private:
	void Cancel();
	void OK();

signals:
	void OkClickedSignal(const QCPRange& xRange, const QCPRange& yRange);

private:
	Ui::SettingPlotRectDialog* ui;

};

#endif // DC_SETTING_PLOT_RECT_DIALOG_H
